package com.ydc.ln.tutorial.web.tag;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;

public class MyFont extends TagSupport {
	/**
	 * 
	 */
	private static final long serialVersionUID = 3677764739841590963L;

	private String bgColor = "#FFFFFF";
	private String color = "#000000";
	private String align = "center";
	private String fontSize = "3";
	private String width = null;
	private String borderColor = "#000000";

	
	
	
	@Override
	public int doStartTag() throws JspException {
		try {
			JspWriter out = pageContext.getOut();
			
		} catch (Exception e) {
			System.err.println("Error in doStartTag of MyFont Handler Class: " + e);
		}
		return super.doStartTag();
	}

	public String getBgColor() {
		return bgColor;
	}

	public void setBgColor(String bgColor) {
		this.bgColor = bgColor;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getAlign() {
		return align;
	}

	public void setAlign(String align) {
		this.align = align;
	}

	public String getFontSize() {
		return fontSize;
	}

	public void setFontSize(String fontSize) {
		this.fontSize = fontSize;
	}

	public String getWidth() {
		return width;
	}

	public void setWidth(String width) {
		this.width = width;
	}

	public String getBorderColor() {
		return borderColor;
	}

	public void setBorderColor(String borderColor) {
		this.borderColor = borderColor;
	}

}
